package org.lyl.taobao.api.entity;

import lombok.Data;

/**
 * @Author: Re
 * @Date: 2021/3/29 13:03
 */
@Data
public class ShopCart {
    private Integer shopCartId;
    private Integer shopCartUserId;
    private Integer shopCartCommodityId;
    private Integer shopCartMerchantId;

    public ShopCart() {
    }

    public ShopCart(Integer shopCartUserId, Integer shopCartCommodityId, Integer shopCartMerchantId) {
        this.shopCartUserId = shopCartUserId;
        this.shopCartCommodityId = shopCartCommodityId;
        this.shopCartMerchantId = shopCartMerchantId;
    }

    @Override
    public String toString() {
        return "用户id：" + shopCartUserId +
                ",商品id：" + shopCartCommodityId +
                ",店家id：" + shopCartMerchantId;
    }
}
